<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>rrdgraph_graph</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>



<h1 id="NAME">NAME</h1>

<p>rrdgraph_graph - rrdtool graph command reference</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p><b>PRINT</b><b>:</b><i>vname</i><b>:</b><i>format</i>[<b>:strftime</b>|<b>:valstrftime</b>|<b>:valstrfduration</b>]</p>

<p><b>GPRINT</b><b>:</b><i>vname</i><b>:</b><i>format</i></p>

<p><b>COMMENT</b><b>:</b><i>text</i></p>

<p><b>VRULE</b><b>:</b><i>time</i><b>#</b><i>color</i>[<b>:</b>[<i>legend</i>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</p>

<p><b>HRULE</b><b>:</b><i>value</i><b>#</b><i>color</i>[<b>:</b>[<i>legend</i>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</p>

<p><b>LINE</b>[<i>width</i>]<b>:</b><i>value</i>[<b>#</b><i>color</i>][<b>:</b>[<i>legend</i>][<b>:STACK</b>][<b>:skipscale</b>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</p>

<p><b>AREA</b><b>:</b><i>value</i>[<b>#</b><i>color</i>][<b>:</b>[<i>legend</i>][<b>:STACK</b>][<b>:skipscale</b>]]</p>

<p><b>TICK</b><b>:</b><i>vname</i><b>#</b><i>rrggbb</i>[<i>aa</i>][<b>:</b><i>fraction</i>[<b>:</b><i>legend</i>]]</p>

<p><b>SHIFT</b><b>:</b><i>vname</i><b>:</b><i>offset</i></p>

<p><b>TEXTALIGN</b><b>:</b>{<b>left</b>|<b>right</b>|<b>justified</b>|<b>center</b>}</p>

<p><b>PRINT</b><b>:</b><i>vname</i><b>:</b><i>CF</i><b>:</b><i>format</i> (deprecated)</p>

<p><b>GPRINT</b><b>:</b><i>vname</i><b>:</b><i>CF</i><b>:</b><i>format</i> (deprecated)</p>

<p><b>STACK</b><b>:</b><i>vname</i><b>#</b><i>color</i>[<b>:</b><i>legend</i>] (deprecated)</p>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>These instructions allow you to generate your image or report. If you don&#39;t use any graph elements, no graph is generated. Similarly, no report is generated if you don&#39;t use print options.</p>

<h2 id="PRINT">PRINT</h2>

<h3 id="PRINT:vname:format-:strftime-:valstrftime-:valstrfduration"><b>PRINT:</b><i>vname</i><b>:</b><i>format</i>[<b>:strftime</b>|<b>:valstrftime</b>|<b>:valstrfduration</b>]</h3>

<p>Depending on the context, either the value component (no suffix, valstrftime or valstrfduration) or the time component (strftime) of a <b>VDEF</b> is printed using <i>format</i>. It is an error to specify a <i>vname</i> generated by a <b>DEF</b> or <b>CDEF</b>.</p>

<p>Any text in <i>format</i> is printed literally with one exception: The percent character introduces a formatter string. This string can be:</p>

<p>For printing values:</p>

<dl>

<dt id="pod"><b>%%</b></dt>
<dd>

<p>just prints a literal &#39;%&#39; character</p>

</dd>
<dt id="le"><b>%#.#le</b></dt>
<dd>

<p>prints numbers like 1.2346e+04. The optional integers # denote field width and decimal precision.</p>

</dd>
<dt id="lf"><b>%#.#lf</b></dt>
<dd>

<p>prints numbers like 12345.6789 (%5.4lf), with optional field width and precision.</p>

</dd>
<dt id="s"><b>%s</b></dt>
<dd>

<p>place this after <b>%le</b>, <b>%lf</b> or <b>%lg</b>. This will be replaced by the appropriate SI magnitude unit and the value will be scaled accordingly (123456 -&gt; 123.456 k).</p>

</dd>
<dt id="S"><b>%S</b></dt>
<dd>

<p>is similar to <b>%s</b>. It does, however, use a previously defined magnitude unit. If there is no such unit yet, it tries to define one (just like <b>%s</b>) unless the value is zero, in which case the magnitude unit stays undefined. Thus, formatter strings using <b>%S</b> and no <b>%s</b> will all use the same magnitude unit except for zero values.</p>

</dd>
</dl>

<p>If you PRINT a VDEF value, you can also print the time associated with it by appending the string <b>:strftime</b> to the format. Note that RRDtool uses the strftime function of your OSs C library. This means that the conversion specifier may vary. Check the manual page if you are uncertain. The following is a list of conversion specifiers usually supported across the board. Formatting values interpreted as timestamps with <b>:valstrftime</b> is done likewise.</p>

<dl>

<dt id="a"><b>%a</b></dt>
<dd>

<p>The abbreviated weekday name according to the current locale.</p>

</dd>
<dt id="A"><b>%A</b></dt>
<dd>

<p>The full weekday name according to the current locale.</p>

</dd>
<dt id="b"><b>%b</b></dt>
<dd>

<p>The abbreviated month name according to the current locale.</p>

</dd>
<dt id="B"><b>%B</b></dt>
<dd>

<p>The full month name according to the current locale.</p>

</dd>
<dt id="c"><b>%c</b></dt>
<dd>

<p>The preferred date and time representation for the current locale.</p>

</dd>
<dt id="d"><b>%d</b></dt>
<dd>

<p>The day of the month as a decimal number (range 01 to 31).</p>

</dd>
<dt id="H"><b>%H</b></dt>
<dd>

<p>The hour as a decimal number using a 24-hour clock (range 00 to 23).</p>

</dd>
<dt id="I"><b>%I</b></dt>
<dd>

<p>The hour as a decimal number using a 12-hour clock (range 01 to 12).</p>

</dd>
<dt id="j"><b>%j</b></dt>
<dd>

<p>The day of the year as a decimal number (range 001 to 366).</p>

</dd>
<dt id="m"><b>%m</b></dt>
<dd>

<p>The month as a decimal number (range 01 to 12).</p>

</dd>
<dt id="M"><b>%M</b></dt>
<dd>

<p>The minute as a decimal number (range 00 to 59).</p>

</dd>
<dt id="p"><b>%p</b></dt>
<dd>

<p>Either `AM&#39; or `PM&#39; according to the given time value, or the corresponding strings for the current locale. Noon is treated as `pm&#39; and midnight as `am&#39;. Note that in many locales a `pm&#39; notation is unsupported and in such cases %p will return an empty string.</p>

</dd>
<dt id="s1"><b>%s</b></dt>
<dd>

<p>The second as a decimal number (range 00 to 61).</p>

</dd>
<dt id="S1"><b>%S</b></dt>
<dd>

<p>The seconds since the epoch (1.1.1970) (libc dependent non standard!)</p>

</dd>
<dt id="U"><b>%U</b></dt>
<dd>

<p>The week number of the current year as a decimal number, range 00 to 53, starting with the first Sunday as the first day of week 01. See also %V and %W.</p>

</dd>
<dt id="V"><b>%V</b></dt>
<dd>

<p>The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the current year, and with Monday as the first day of the week. See also %U and %W.</p>

</dd>
<dt id="w"><b>%w</b></dt>
<dd>

<p>The day of the week as a decimal, range 0 to 6, Sunday being 0. See also %u.</p>

</dd>
<dt id="W"><b>%W</b></dt>
<dd>

<p>The week number of the current year as a decimal number, range 00 to 53, starting with the first Monday as the first day of week 01.</p>

</dd>
<dt id="x"><b>%x</b></dt>
<dd>

<p>The preferred date representation for the current locale without the time.</p>

</dd>
<dt id="X"><b>%X</b></dt>
<dd>

<p>The preferred time representation for the current locale without the date.</p>

</dd>
<dt id="y"><b>%y</b></dt>
<dd>

<p>The year as a decimal number without a century (range 00 to 99).</p>

</dd>
<dt id="Y"><b>%Y</b></dt>
<dd>

<p>The year as a decimal number including the century.</p>

</dd>
<dt id="Z"><b>%Z</b></dt>
<dd>

<p>The time zone or name or abbreviation.</p>

</dd>
<dt id="pod1"><b>%%</b></dt>
<dd>

<p>A literal `%&#39; character.</p>

</dd>
</dl>

<p>You can format values as duration using <b>:valstrfduration</b> with the value being interpreted as milliseconds. Using printf like conversion specifications you can extract properties from the duration:</p>

<pre><code> - All non-conversion specification chars are copied unchanged
 - A conversion specification has format &#39;%&#39; [ [&#39;0&#39;] minwidth ] [ &#39;.&#39; precision ] conversion-specifier</code></pre>

<p>With conversion-specifier being one of:</p>

<dl>

<dt id="pod2"><b>%</b></dt>
<dd>

<p>A raw &#39;%&#39; is output, width and precision are ignored</p>

</dd>
<dt id="W1"><b>W</b></dt>
<dd>

<p>Number of weeks</p>

</dd>
<dt id="d1"><b>d</b></dt>
<dd>

<p>Number of days, modulus number of weeks</p>

</dd>
<dt id="D"><b>D</b></dt>
<dd>

<p>Number of days</p>

</dd>
<dt id="h"><b>h</b></dt>
<dd>

<p>Number of hours, modulus number of days</p>

</dd>
<dt id="H1"><b>H</b></dt>
<dd>

<p>Number of hours</p>

</dd>
<dt id="m1"><b>m</b></dt>
<dd>

<p>Number of minutes, modulus number of hours</p>

</dd>
<dt id="M1"><b>M</b></dt>
<dd>

<p>Number of minutes</p>

</dd>
<dt id="s2"><b>s</b></dt>
<dd>

<p>Number of seconds, modulus number of minutes</p>

</dd>
<dt id="S2"><b>S</b></dt>
<dd>

<p>Number of seconds</p>

</dd>
<dt id="f"><b>f</b></dt>
<dd>

<p>Number of milliseconds, modulus seconds</p>

</dd>
</dl>

<h3 id="PRINT:vname:CF:format"><b>PRINT:</b><i>vname</i><b>:</b><i>CF</i><b>:</b><i>format</i></h3>

<p><i>Deprecated. Use the new form of this command in new scripts.</i> The first form of this command is to be used with <b>CDEF</b> <i>vname</i>s.</p>

<h2 id="GRAPH">GRAPH</h2>

<h3 id="GPRINT:vname:format"><b>GPRINT</b><b>:</b><i>vname</i><b>:</b><i>format</i></h3>

<p>This is the same as <code>PRINT</code>, but printed inside the graph.</p>

<h3 id="GPRINT:vname:CF:format"><b>GPRINT</b><b>:</b><i>vname</i><b>:</b><i>CF</i><b>:</b><i>format</i></h3>

<p><i>Deprecated. Use the new form of this command in new scripts.</i> This is the same as <code>PRINT</code>, but printed inside the graph.</p>

<h3 id="COMMENT:text"><b>COMMENT</b><b>:</b><i>text</i></h3>

<p>Text is printed literally in the legend section of the graph. Note that in RRDtool 1.2 you have to escape colons in COMMENT text in the same way you have to escape them in <b>*PRINT</b> commands by writing <b>&#39;\:&#39;</b>.</p>

<h3 id="VRULE:time-color-:-legend-:dashes-on_s-off_s-on_s-off_s-...-:dash-offset-offset"><b>VRULE</b><b>:</b><i>time</i><b>#</b><i>color</i>[<b>:</b>[<i>legend</i>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</h3>

<p>Draw a vertical line at <i>time</i>. Its color is composed from three hexadecimal numbers specifying the rgb color components (00 is off, FF is maximum) red, green and blue followed by an optional alpha. Optionally, a legend box and string is printed in the legend section. <i>time</i> may be a number or a variable from a <b>VDEF</b>. It is an error to use <i>vname</i>s from <b>DEF</b> or <b>CDEF</b> here. Dashed lines can be drawn using the <b>dashes</b> modifier. See <b>LINE</b> for more details.</p>

<h3 id="HRULE:value-color-:-legend-:dashes-on_s-off_s-on_s-off_s-...-:dash-offset-offset"><b>HRULE</b><b>:</b><i>value</i><b>#</b><i>color</i>[<b>:</b>[<i>legend</i>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</h3>

<p>Draw a horizontal line at <i>value</i>. HRULE acts much like LINE except that will have no effect on the scale of the graph. If a HRULE is outside the graphing area it will just not be visible and it will not appear in the legend by default.</p>

<h3 id="LINE-width-:value-color-:-legend-:STACK-:skipscale-:dashes-on_s-off_s-on_s-off_s-...-:dash-offset-offset"><b>LINE</b>[<i>width</i>]<b>:</b><i>value</i>[<b>#</b><i>color</i>][<b>:</b>[<i>legend</i>][<b>:STACK</b>][<b>:skipscale</b>][<b>:dashes</b>[<b>=</b><i>on_s</i>[,<i>off_s</i>[,<i>on_s</i>,<i>off_s</i>]...]][<b>:dash-offset=</b><i>offset</i>]]]</h3>

<p>Draw a line of the specified width onto the graph. <i>width</i> can be a floating point number. If the color is not specified, the drawing is done &#39;invisibly&#39;. This is useful when stacking something else on top of this line. Also optional is the legend box and string which will be printed in the legend section if specified. The <b>value</b> can be generated by <b>DEF</b>, <b>VDEF</b>, and <b>CDEF</b>. If the optional <b>STACK</b> modifier is used, this line is stacked on top of the previous element which can be a <b>LINE</b> or an <b>AREA</b>.</p>

<p>Normally the graphing function makes sure that the entire <b>LINE</b> or <b>AREA</b> is visible in the chart. The scaling of the chart will be modified accordingly if necessary. Any <b>LINE</b> or <b>AREA</b> can be excluded from this process by adding the option <b>skipscale</b>.</p>

<p>The <b>dashes</b> modifier enables dashed line style. Without any further options a symmetric dashed line with a segment length of 5 pixels will be drawn. The dash pattern can be changed if the <b>dashes=</b> parameter is followed by either one value or an even number (1, 2, 4, 6, ...) of positive values. Each value provides the length of alternate <i>on_s</i> and <i>off_s</i> portions of the stroke. The <b>dash-offset</b> parameter specifies an <i>offset</i> into the pattern at which the stroke begins.</p>

<p>When you do not specify a color, you cannot specify a legend. Should you want to use <b>STACK</b>, use the &quot;LINEx:&lt;value&gt;::STACK&quot; form.</p>

<h3 id="AREA:value-color-color2-:-legend-:STACK-:skipscale-:gradheight-y"><b>AREA</b><b>:</b><i>value</i>[<b>#</b><i>color</i>[<b>#</b><i>color2</i>]][<b>:</b>[<i>legend</i>][<b>:STACK</b>][<b>:skipscale</b>][<b>:gradheight=</b><i>y</i>]</h3>

<p>See <b>LINE</b>, however the area between the x-axis and the line will be filled.</p>

<p>If color2 is specified, the area will be filled with a gradient.</p>

<p>The <i>gradheight</i> parameter can create three different behaviors. If <i>gradheight</i> &gt; 0, then the gradient is a fixed height, starting at the line going down. If <i>gradheight</i> &lt; 0, then the gradient starts at a fixed height above the x-axis, going down to the x-axis. If <i>height</i> == 0, then the gradient goes from the line to x-axis.</p>

<p>The default value for <i>gradheight</i> is 50.</p>

<h3 id="TICK:vname-rrggbb-aa-:fraction-:legend"><b>TICK</b><b>:</b><i>vname</i><b>#</b><i>rrggbb</i>[<i>aa</i>][<b>:</b><i>fraction</i>[<b>:</b><i>legend</i>]]</h3>

<p>Plot a tick mark (a vertical line) for each value of <i>vname</i> that is non-zero and not *UNKNOWN*. The <i>fraction</i> argument specifies the length of the tick mark as a fraction of the y-axis; the default value is 0.1 (10% of the axis). Note that the color specification is not optional. The TICK marks normally start at the lower edge of the graphing area. If the fraction is negative they start at the upper border of the graphing area.</p>

<h3 id="SHIFT:vname:offset"><b>SHIFT</b><b>:</b><i>vname</i><b>:</b><i>offset</i></h3>

<p>Using this command <b>RRDtool</b> will graph the following elements with the specified offset. For instance, you can specify an offset of <span style="white-space: nowrap;">( 7*24*60*60 = ) 604&#39;800 seconds</span> to &quot;look back&quot; one week. Make sure to tell the viewer of your graph you did this ... As with the other graphing elements, you can specify a number or a variable here.</p>

<h3 id="TEXTALIGN:-left-right-justified-center"><b>TEXTALIGN</b><b>:</b>{<b>left</b>|<b>right</b>|<b>justified</b>|<b>center</b>}</h3>

<p>Labels are placed below the graph. When they overflow to the left, they wrap to the next line. By default, lines are justified left and right. The <b>TEXTALIGN</b> function lets you change this default. This is a command and not an option, so that you can change the default several times in your argument list.</p>

<h3 id="STACK:vname-color-:legend"><b>STACK</b><b>:</b><i>vname</i><b>#</b><i>color</i>[<b>:</b><i>legend</i>]</h3>

<p><i>Deprecated. Use the <b>STACK</b> modifiers on the other commands instead!</i></p>

<p><b>Some notes on stacking</b></p>

<p>When stacking, an element is not placed above the X-axis but rather on top of the previous element. There must be something to stack upon.</p>

<p>You can use an <b>invisible</b> LINE or AREA to stacked upon.</p>

<p>An <b>unknown</b> value makes the entire stack unknown from that moment on. You don&#39;t know where to begin (the unknown value) and therefore do not know where to end.</p>

<p>If you want to make sure you will be displaying a certain variable, make sure never to stack upon the unknown value. Use a CDEF instruction with <b>IF</b> and <b>UN</b> to do so.</p>

<h1 id="NOTES-on-legend-arguments">NOTES on legend arguments</h1>

<h2 id="Escaping-the-colon">Escaping the colon</h2>

<p>A colon &#39;:&#39; in a <i>legend</i> argument will mark the end of the legend. To enter a &#39;:&#39; as part of a legend, the colon must be escaped with a backslash &#39;\:&#39;. Beware that many environments process backslashes themselves, so it may be necessary to write two backslashes in order to one being passed onto rrd_graph.</p>

<h2 id="String-Formatting">String Formatting</h2>

<p>The text printed below the actual graph can be formatted by appending special escape characters at the end of a text. Whenever such a character occurs, all pending text is pushed onto the graph according to the character specified.</p>

<p>Valid markers are: <b>\j</b> for justified, <b>\l</b> for left aligned, <b>\r</b> for right aligned, and <b>\c</b> for centered. In the next section there is an example showing how to use centered formatting.</p>

<p><b>\n</b> is a valid alias for <b>\l</b> since incomplete parsing in earlier versions of RRDtool lead to this behavior and a number of people has been using it.</p>

<p>Normally there are two space characters inserted between every two items printed into the graph. The space following a string can be suppressed by putting a <b>\g</b> at the end of the string. The <b>\g</b> also ignores any space inside the string if it is at the very end of the string. This can be used in connection with <b>%s</b> to suppress empty unit strings.</p>

<pre><code> GPRINT:a:MAX:%lf%s\g</code></pre>

<p>A special case is COMMENT:<b>\s</b> which inserts some additional vertical space before placing the next row of legends.</p>

<p>If you want to have left and right aligned legends on the same line use COMMENT:<b>\u</b> to go one line back like this:</p>

<pre><code> COMMENT:left\l
 COMMENT:\u
 COMMENT:right\r</code></pre>

<p>There is also a &#39;nop&#39; control for situations where you want a string to actually end in a backslash character sequence <b>\.</b></p>

<pre><code> COMMENT:OS\2\.</code></pre>

<p>When using a proportional font in your graph, the tab characters or the sequence <b>\t</b> will line-up legend elements. Note that the tabs inserted are relative to the start of the current legend element!</p>

<p>Since RRDtool 1.3 is using Pango for rending text, you can use Pango markup. Pango uses the xml <b>span</b> tags for inline formatting instructions.</p>

<p>A simple example of a marked-up string might be:</p>

<pre><code> &lt;span foreground=&quot;blue&quot; size=&quot;x-large&quot;&gt;Blue text&lt;/span&gt; is &lt;i&gt;cool&lt;/i&gt;!</code></pre>

<p>The complete list of attributes for the span tag (taken from the pango documentation):</p>

<dl>

<dt id="font_desc"><b>font_desc</b></dt>
<dd>

<p>A font description string, such as &quot;Sans Italic 12&quot;; note that any other span attributes will override this description. So if you have &quot;Sans Italic&quot; and also a style=&quot;normal&quot; attribute, you will get Sans normal, not italic.</p>

</dd>
<dt id="font_family"><b>font_family</b></dt>
<dd>

<p>A font family name</p>

</dd>
<dt id="face"><b>face</b></dt>
<dd>

<p>Synonym for font_family</p>

</dd>
<dt id="size"><b>size</b></dt>
<dd>

<p>Font size in 1024ths of a point, or one of the absolute sizes &#39;xx-small&#39;, &#39;x-small&#39;, &#39;small&#39;, &#39;medium&#39;, &#39;large&#39;, &#39;x-large&#39;, &#39;xx-large&#39;, or one of the relative sizes &#39;smaller&#39; or &#39;larger&#39;. If you want to specify an absolute size, it&#39;s usually easier to take advantage of the ability to specify a partial font description using &#39;font_desc&#39;; you can use font_desc=&#39;12.5&#39; rather than size=&#39;12800&#39;.</p>

</dd>
<dt id="style"><b>style</b></dt>
<dd>

<p>One of &#39;normal&#39;, &#39;oblique&#39;, &#39;italic&#39;</p>

</dd>
<dt id="weight"><b>weight</b></dt>
<dd>

<p>One of &#39;ultralight&#39;, &#39;light&#39;, &#39;normal&#39;, &#39;bold&#39;, &#39;ultrabold&#39;, &#39;heavy&#39;, or a numeric weight</p>

</dd>
<dt id="variant"><b>variant</b></dt>
<dd>

<p>&#39;normal&#39; or &#39;smallcaps&#39;</p>

</dd>
<dt id="stretch"><b>stretch</b></dt>
<dd>

<p>One of &#39;ultracondensed&#39;, &#39;extracondensed&#39;, &#39;condensed&#39;, &#39;semicondensed&#39;, &#39;normal&#39;, &#39;semiexpanded&#39;, &#39;expanded&#39;, &#39;extraexpanded&#39;, &#39;ultraexpanded&#39;</p>

</dd>
<dt id="foreground"><b>foreground</b></dt>
<dd>

<p>An RGB color specification such as &#39;#00FF00&#39; or a color name such as &#39;red&#39;</p>

</dd>
<dt id="background"><b>background</b></dt>
<dd>

<p>An RGB color specification such as &#39;#00FF00&#39; or a color name such as &#39;red&#39;</p>

</dd>
<dt id="underline"><b>underline</b></dt>
<dd>

<p>One of &#39;none&#39;, &#39;single&#39;, &#39;double&#39;, &#39;low&#39;, &#39;error&#39;</p>

</dd>
<dt id="underline_color"><b>underline_color</b></dt>
<dd>

<p>The color of underlines; an RGB color specification such as &#39;#00FF00&#39; or a color name such as &#39;red&#39;</p>

</dd>
<dt id="rise"><b>rise</b></dt>
<dd>

<p>Vertical displacement, in 10000ths of an em. Can be negative for subscript, positive for superscript.</p>

</dd>
<dt id="strikethrough"><b>strikethrough</b></dt>
<dd>

<p>&#39;true&#39; or &#39;false&#39; whether to strike through the text</p>

</dd>
<dt id="strikethrough_color"><b>strikethrough_color</b></dt>
<dd>

<p>The color of crossed out lines; an RGB color specification such as &#39;#00FF00&#39; or a color name such as &#39;red&#39;</p>

</dd>
<dt id="fallback"><b>fallback</b></dt>
<dd>

<p>&#39;true&#39; or &#39;false&#39; whether to enable fallback. If disabled, then characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text. Fallback is enabled by default. Most applications should not disable fallback.</p>

</dd>
<dt id="lang"><b>lang</b></dt>
<dd>

<p>A language code, indicating the text language</p>

</dd>
<dt id="letter_spacing"><b>letter_spacing</b></dt>
<dd>

<p>Inter-letter spacing in 1024ths of a point.</p>

</dd>
<dt id="gravity"><b>gravity</b></dt>
<dd>

<p>One of &#39;south&#39;, &#39;east&#39;, &#39;north&#39;, &#39;west&#39;, &#39;auto&#39;.</p>

</dd>
<dt id="gravity_hint"><b>gravity_hint</b></dt>
<dd>

<p>One of &#39;natural&#39;, &#39;strong&#39;, &#39;line&#39;.</p>

</dd>
</dl>

<p>To save you some typing, there are also some shortcuts:</p>

<dl>

<dt id="b1"><b>b</b></dt>
<dd>

<p>Bold</p>

</dd>
<dt id="big"><b>big</b></dt>
<dd>

<p>Makes font relatively larger, equivalent to &lt;span size=&quot;larger&quot;&gt;</p>

</dd>
<dt id="i"><b>i</b></dt>
<dd>

<p>Italic</p>

</dd>
<dt id="s3"><b>s</b></dt>
<dd>

<p>Strike through</p>

</dd>
<dt id="sub"><b>sub</b></dt>
<dd>

<p>Subscript</p>

</dd>
<dt id="sup"><b>sup</b></dt>
<dd>

<p>Superscript</p>

</dd>
<dt id="small"><b>small</b></dt>
<dd>

<p>Makes font relatively smaller, equivalent to &lt;span size=&quot;smaller&quot;&gt;</p>

</dd>
<dt id="tt"><b>tt</b></dt>
<dd>

<p>Monospace font</p>

</dd>
<dt id="u"><b>u</b></dt>
<dd>

<p>Underline</p>

</dd>
</dl>

<h1 id="SEE-ALSO">SEE ALSO</h1>

<p><a href="./rrdgraph.html">rrdgraph</a> gives an overview of how <b>rrdtool graph</b> works. <a href="./rrdgraph_data.html">rrdgraph_data</a> describes <b>DEF</b>,<b>CDEF</b> and <b>VDEF</b> in detail. <a href="./rrdgraph_rpn.html">rrdgraph_rpn</a> describes the <b>RPN</b> language used in the <b>?DEF</b> statements. <a href="./rrdgraph_graph.html">rrdgraph_graph</a> page describes all of the graph and print functions.</p>

<p>Make sure to read <a href="./rrdgraph_examples.html">rrdgraph_examples</a> for tips&amp;tricks.</p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Program by Tobias Oetiker &lt;tobi@oetiker.ch&gt;</p>

<p>This manual page by Alex van den Bogaerdt &lt;alex@vandenbogaerdt.nl&gt; with corrections and/or additions by several people</p>


</body>

</html>


